package com.dragon.modules.yuegou.entity.live;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 商品直播间关系表实体类<br>
 * 对应的表为：live_broadcast_spu<br>
 * 
 * @author ZSH
 * @date 2020-06-12 11:15:02
 * @company sgy
 * @version 2.0
 */
@TableName("live_broadcast_spu")
@ApiModel(description = "商品直播间关系表")
public class BroadcastSpuEntity {

    /** Id */
	@ApiModelProperty("Id")
	protected String id;

    /** 审核商品Id */
	@ApiModelProperty("审核商品Id")
	protected String reviewId;

    /** 直播间Id */
	@ApiModelProperty("直播间Id")
	protected String broadcastId;

    /** 微信直播间id */
	@ApiModelProperty("微信直播间id")
	protected String roomId;

	/**
	 * 构造一个空商品直播间关系表实体对象
	 */
	public BroadcastSpuEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个商品直播间关系表实体对象
	 * 
	 * @param other 其它对象
	 */
	public BroadcastSpuEntity(BroadcastSpuEntity other){
		super();
     	this.id = other.id;
     	this.reviewId = other.reviewId;
     	this.broadcastId = other.broadcastId;
     	this.roomId = other.roomId;
	}


	/**
	 * 获取Id
	 * 
	 * @return id Id
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置Id
	 * 
	 * @param id Id
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取审核商品Id
	 * 
	 * @return reviewId 审核商品Id
	 */
	public String getReviewId() {
		return reviewId;
	}
  	
	/**
	 * 设置审核商品Id
	 * 
	 * @param reviewId 审核商品Id
	 */
	public void setReviewId(String reviewId) {
		this.reviewId = reviewId;
	}

	/**
	 * 获取直播间Id
	 * 
	 * @return broadcastId 直播间Id
	 */
	public String getBroadcastId() {
		return broadcastId;
	}
  	
	/**
	 * 设置直播间Id
	 * 
	 * @param broadcastId 直播间Id
	 */
	public void setBroadcastId(String broadcastId) {
		this.broadcastId = broadcastId;
	}

	/**
	 * 获取微信直播间id
	 * 
	 * @return roomId 微信直播间id
	 */
	public String getRoomId() {
		return roomId;
	}
  	
	/**
	 * 设置微信直播间id
	 * 
	 * @param roomId 微信直播间id
	 */
	public void setRoomId(String roomId) {
		this.roomId = roomId;
	}

    public String toString() {
		return new StringBuilder().append("BroadcastSpuEntity{").
			append("id=").append(id).
			append(",reviewId=").append(reviewId).
			append(",broadcastId=").append(broadcastId).
			append(",roomId=").append(roomId).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public BroadcastSpuEntity copy() {
		return new BroadcastSpuEntity(this);
	}

    /** Id */
	public static final String COL_ID = "id";

    /** 审核商品Id */
	public static final String COL_REVIEW_ID = "review_id";

    /** 直播间Id */
	public static final String COL_BROADCAST_ID = "broadcast_id";

    /** 微信直播间id */
	public static final String COL_ROOM_ID = "room_id";
}
